<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>系统首页</title>
    <link rel="stylesheet">
	<link rel="stylesheet" href="{$CSS}/bootstrap3.3.7.min.css">
	<style>
        td,th{
			text-align: center;vertical-align: middle !important;
			}
        .paging{
           list-style:none;
           display:inline ;
           padding-left:2px    
        }
/*
        .paging:after{
            content:"";
            clear: both
        }
*/
        .paging li{
            display:inline-block
        }
        .paging a{
            padding:5px 10px;
            border: 1px solid #ddd;
            margin-left: -1px;
            text-decoration: none;
        }
        .active{
            border-color: #337ab7 !important;
        }
    </style>
</head>
<body style="overflow-x:hidden;">
    <div style="padding:10px;border-bottom:1px solid #eee;font-size:15px;font-weight:700">付费模块</div>
	<div style="padding:20px">
       
        <div style="margin-top:15px">
            <table class="table table-bordered table-hover">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>模块名称</th>
                  <th>介绍</th>
                  <th>我要购买</th>
                  <th>价格</th>
				  
				  {if $status == 1}
				  
                  <th style="color:red">立即更新</th>
				  
				  {/if}
				  
				  <!--
                  <th class="col-md-2">操作</th>
				  -->
                </tr>
              </thead>
              <tbody>
			{loop $data as $r}
                <tr>
                  <td>{$r->id}</td>
                  <td>{$r->module_name}</td>
                  <td>{$r->content}</td>
                  <td><a href="{$r->url}">{$r->url}</a></td>
				  <td>{$r->price} 元</td>
				  
				  {if $status == 1}
				  
				  <td><a href="{$r->update_url}">{$r->update_url}</a></td>
				  
				  {/if}
				  
				  <!--
                  <td>
                     <a class="btn btn-primary btn-sm" href="add-{$r->id}.html">编辑</a>
                  </td>
				  -->
                </tr>
			{/loop}
              </tbody>
            </table>
        </div>
    </div>
</body>

</html>